"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.xiaoma.service:id/{}"]'

"""
首页
"""
index_list_category_cover_img = '//*[@text="{}"]/parent::*/android.widget.ImageView'

# 保养节点图标
car_play_node_icon = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.View'

# 保养进度图标
car_play_schedule_icon = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.widget.ImageView'

# 第几次保养
car_play_times_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.widget.TextView'

# 建议保养里程标题
car_play_mileage_title_text ='//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/suggest_kilometre"]'

# 建议保养里程
car_play_mileage_number_text ='//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/kilometre_detail"]'

# 建议保养时间
car_play_mileage_time_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/maintenance_time"]'


# 建议保养项目标题
car_play_mileage_project_title_text ='//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/suggest_project"]'

# 建议保养项目
car_play_mileage_project_text ='//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/android.widget.ScrollView/*[@resource-id="com.xiaoma.service:id/option_name"]'

# 去保养按钮
car_play_mileage_go_maintenance_btn ='//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/leave_to_maintain"]'
